cmake_minimum_required (VERSION 2.6)

project (Memchart)
set (Memchart_VERSION_MAJOR 0)
set (Memchart_VERSION_MINOR 1)

option (BUILD_TESTS "Build test programs" OFF)

include (FindPkgConfig)
pkg_check_modules (GTKMM REQUIRED
	sigc++-2.0
	glibmm-2.4
	gthread-2.0
	gdkmm-2.4
	cairomm-1.0
	gtkmm-2.4>=2.14)

include_directories (include)

add_subdirectory (include)
add_subdirectory (src)

if (BUILD_TESTS)
	add_subdirectory (test)
endif (BUILD_TESTS)
